
cc.Class({
    extends: cc.Component,

    properties: {
      startGameView:cc.Node
    },


    enchangeEnergyClick:function(){
        this.node.active=false
        this.startGameView.getComponent('StartGameView').chargeEnergyClick()

    },


    closeClick:function(){

     this.node.active=false
    },
    // LIFE-CYCLE CALLBACKS:

    // onLoad () {},

    start () {

    },

    // update (dt) {},
});
